﻿using Domain.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Domain.Repository
{
    public interface ISSDRepository
    {
        /// <summary>
        /// 查询全部
        /// </summary>
        /// <returns></returns>
        Task<List<SSD>> SelectSSDAsync();

        /// <summary>
        /// 根据薪酬标准单编号查询
        /// </summary>
        /// <returns></returns>
        Task<List<SSD>> SelectSSDStandardIdAsync(string StandardId);
        //新增
        Task<bool> AddSSDAsync(SSD ssd);
        /// <summary>
        /// 删除
        /// </summary>
        /// <returns></returns>
        Task<bool> DeleteSSDAsync(int id);

        /// <summary>
        /// 修改
        /// </summary>
        /// <param name="ssd"></param>
        /// <returns></returns>
        Task<bool> UpdateSSDAsync(SSD ssd);
    }
}
